*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-family: inherit;
    font-size: 100%;
    list-style: none;
}
#container{
  background: #2d4356;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
  color: white;
  transition: 0.2s ease-out;
}


.main{
    display: flex;
    justify-content: space-around;
    width: 1100px;
}
.posts{
    width: 680px;
}

.post {
    position: relative;
    font-size: 1em; 
    top: 0;
    text-align: left;
    display: flex;
    padding: 20px;
    margin-bottom: 20px;
    background: #263c4f;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
}

 
.post:first-child {
    margin-top: 0;
  }
.post-title {
    font-size: 1.155em;
}
.post-title-link {
    color: #81d7ea;
    text-decoration: none;
}
.post-title-link:hover{
    color: aqua;
}
.post-title-img{
    margin-right: 20px;
}
.post-title-img-o{
    width: 270px;
    height: 180px;
    overflow: hidden;
}

.post:hover .post-title-img .post-title-img-o img{
    transform: scale(1.1);
    transition: all 1s;
}

.post-inner{
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 180px;
} 
.post-count-outer{
    color: #a9dbe6;
    font-size: 13px;
    margin-left: 3px;
}
.post-content{
    margin-top: 10px;
    height: 100px;
    flex: 1;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    text-overflow: ellipsis;
}
.post-content a {
      color: aqua;
      text-decoration: none;
}
.post-content p{
    font-size: .8999999em;
    color: azure;
}  

.post-meta {
    color: #BABABA;
 }


.header {
    margin-top: 1em;
    margin-bottom: 1em;
    width: 100%;
    position: relative;
    padding: 10px 0;
    background: #263c4f;
    z-index:5
}
.header-inner{
    padding: 0 100px;
    display: flex;
    height: 80px;
    align-items: center;
    box-shadow: 0 0 5px rgba(103, 134, 139, 0.5);
    justify-content: space-around;  
}  


/* 轮播图 */
.carousel-out{
    padding: 5px;
    margin-bottom: 20px;
    background: #263c4f;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
}
img{
    width: 100%;
}
#carousel{
    position: relative;
    cursor: pointer;
    height: 245px;
    max-width: 670px;
    overflow: hidden;
}
#pic{
    text-align: center;
}
#pic li img{
    margin: 0;
}

#list{
    z-index: 4;
    position:absolute;
    bottom:10px;
    right:10px;
}
#list li{float:left;
    background: white;
    color:black;
    height:10px;
    width:10px;
    font-size:14px;
    margin-right:10px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
}
#list .on{
    background: aqua;
    color:white;
}
#btn_left{
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -122px;
    cursor: pointer;
}
#btn_left:hover{
    width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -122px;
    cursor: pointer;
}
#btn_right{
    z-index: 3;
    width: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -122px;
    cursor: pointer;
}
#btn_right:hover{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -122px;
    cursor: pointer;

}
#btn_left i,#btn_right i{
    font-size: 1.5em;
    display: none;
    opacity: .8;
}

#carousel-cover{
    display: flex;
    justify-content: space-between;
}
#carousel-cover-left{
    z-index: 2;
    width: 50px;
    height: 245px;
    margin-top: -245px;
    background: linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
}
#carousel-cover-right{
    z-index: 2;
    width: 50px;
    height: 245px;
    margin-top: -245px;
    background: linear-gradient(to left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
}

/* 轮播图结束 */

/*手机轮播图*/
.carousel-mobile-out{
    display: none;
    box-shadow: 0 0 15px rgb(119, 134, 217);
    margin-bottom: 20px;
}
#carousel-mobile{
    position: relative;
    cursor: pointer;
    height: 175px;
    overflow: hidden;
}
#pic-mobile{
    text-align: center;
}
#list-mobile .on{
    background: aqua;
    color:white;
}

#pic-mobile li{
   line-height: 0;
}
/*手机轮播图结束*/




.navbar{
    font-size: .93333em;
}

#header-btn{
    display: none;
}
.blog-title{
    font-size: 1.4em;
}
.blog-title .logo {
    flex: 0 50px;
    color: #81d7ea;
    font-size: 1em;
    font-family: "Comic Sans MS",cursive,LiSu,sans-serif;
    text-decoration: none;
}

.menu {
    margin: 0;
    padding: 0;
}

.menu-item {
    display: inline-block;
    margin-right: 14px;
  }

.menu-item-link {
    color: #81d7ea;
    text-decoration: none;
}

.menu-item-link:hover {
    color: aqua;
}

/* 翻页按钮 */
#page-nav{
    height: 50px;
    width: 100%;
    font-size: .93333em;
    display: flex;
    justify-content: center;
    
}
#page-items{
    width: 200px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2px;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
}
.page-item{
    width: 32px;
    height: 30px;
    border: 1px solid #2d4356;
    color: #81d7ea;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-item:hover,.page-col-l:hover,.page-col-r:hover{
    
    color: aqua;
    border: 1px solid aqua;
}
.page-col-l,.page-col-r{
    width: 30px;
    height: 28px;
    padding: 4px;
    border: 1px solid #2d4356;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
    color: #81d7ea;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*sidebar开始*/
.sidebar{
    display: flex;
    font-size: 1em;
    flex-direction: column;
    width: 320px;
}

/* 每日一句 */
.daily{
    color: azure;
    background: #263c4f;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.daily-header{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-weight: bold;
    border-bottom: 1px solid rgba(61, 122, 132, 0.5);
}
.daily-header h1{
    font-size: 1.155em;
    border-bottom: 2px solid #52b9ea;
}
.daily-header h2{
    font-size: 1.05em;
}
.daily-header h2 span{
    font-size: 0.81em;
}
.daily-mid{
    height: 160px;
    width: 100%;
    margin: 10px 0;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
}
.daily-content{
    font-size: .908111111em;
    line-height: 170%;
    flex: 1;
    cursor: pointer;
}

/* 最新文章模块，竖向Tab */
.last-aritle{
    background: #263c4f;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
    padding: 20px;
    margin-bottom: 20px;
}
.last-article-header{
    border-bottom: 1px solid rgba(61, 122, 132, 0.5);
    font-weight: bold;
    
}
.last-article-header h1{
    font-size: 1.155em;
    width: fit-content;
    border-bottom: 2px solid #52b9ea;
}
.last-articles{
    margin-top: 10px;
}

.last-item{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    line-height: 190%;
    border-bottom: 1px solid rgba(61, 122, 132, 0.5);
}

.last-item a{
    color: azure;
    text-decoration: none;
    display: flex;
    padding: 6px 0;
    
}
.last-item-title{
    height: 36px;
    line-height: 18px;
    overflow: hidden;
    font-size: .84em;
    color: #81d7ea;
    padding-left: 6pt;
    white-space: normal;
}


.last-item-time{
    font-family: serif;  /*为了不改变宽度，使用等宽字体*/
    display: flex;
    align-items: baseline;
    padding: 0 4px;
    color: burlywood;
    background: rgba(61, 122, 132, 0.5);
}
.last-item a:hover>div{
    color: cyan !important;
}
.last-item-time:hover{
    background: rgba(129, 179, 185, 0.27);
}
.item-time-month{
    font-size: 1.1em;
}

/*横向tab切换栏*/
.aside3{
    background: #263c4f;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
    padding: 20px;
}
#box_head{
    position: relative;
}
 
#tab_head{
    justify-content: space-around;
    display: flex;
    cursor: pointer;
    font-size: .96666em;
}

#tab_head li{
    margin: 0 -5px;
    margin-bottom: 10px;
}

#tab_head .on{
    color:aqua; 
    font-weight:bold;
    border-bottom:2px solid aqua;
}

#box_body>ul{
    display: none;
    line-height: 190%;
}

.selected{
    display: block !important;
}  

.item_right li{
    margin-left: 1%;
    text-overflow:ellipsis; 
    white-space:nowrap; 
    overflow:hidden;
}

/* 联系方式 */
.contact{
    background: #263c4f;
    box-shadow: 0 0 10px rgba(61, 122, 132, 0.5);
    padding: 20px;
    margin-top: 20px;
    transition: 0.2s ease-out;
}

.contact-header{
    border-bottom: 1px solid rgba(61, 122, 132, 0.5);
    font-weight: bold;
}
.contact-header h1{
    font-size: 1.155em;
    width: fit-content;
    border-bottom: 2px solid #52b9ea;

}
.contact-items{
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(61, 122, 132, 0.5);
    padding-bottom: 10px;
    color: #81d7ea;
}
.contact-item{
    width: 45%;
    padding-left: 2%;
    margin-top:4%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.contact-item:hover{
    color: aqua;
}
.contact-banner{
    margin-top: 10px;
}
.contact-banner-inner{
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    font-size: .8em;
    border-top: 1px solid rgba(61, 122, 132, 0.5);
    padding-top: 4px;
    border-bottom: 1px solid rgba(61, 122, 132, 0.5);
    padding-bottom: 6px;
    margin-bottom: 2px;

}


.contact-banner-inner a{
    color: #81d7ea;
    text-decoration: none;
    border: 1px solid #2d4356;
}
.contact-banner-inner a:hover{
    color: aqua;
    background: rgba(61, 122, 132, 0.5);
}
.contact-time,.contact-work{
    color: #81d7ea;
    font-size: .9em;
    margin-top: 5px;
}
.contact-work{
    padding-bottom: 10px;
}
/*sidebar结束*/


/* footer */
#footer{
   height: 50px;
   width: 100%;
   padding: 10px 0;
}
.footer-inner{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px rgba(103, 134, 139, 0.5);
}
.copyright{
    color: #81d7ea;
    white-space: pre;
}

/* 简易左侧栏 */
#sidemenu{
    display: none;
}
#left-bar{
    position: fixed;
    top: 0;
    bottom: 0;
    left: -200px;
    width: 200px;
    z-index: 6;
    background: linear-gradient(45deg, #173865 , #263c4f);
    transition: 0.2s ease-out;
}
li.bar-menu-item i{
    display: none;
}
#sidemenu:checked + aside {          
    left: 0;
}
#sidemenu:checked + aside .left-bar-inner .left-bar-menu ul li.bar-menu-item i{
    display: inline-flex;
}

#sidemenu:checked ~ #container{
    transition: 0.2s ease-out;
}
#sidemenu:checked ~ #container .main .posts{
    transition: 0.2s ease-out;
}
#sidemenu:checked ~ #container .header .header-inner{
    transition: 0.2s ease-out;
}
#sidemenu:checked ~ #container .header .header-inner .blog-title{
    transition: 0.2s ease-out;
}
#sidemenu:checked ~ #container #footer .footer-inner .copyright{
    transition: 0.2s ease-out;
}

/* 移动端适配 */

@media screen and (min-width: 769px){
    #left-bar{
        display: none;
    }
}

@media screen and (max-width: 1024px){
    .sidebar{
        display: none;
    }
    #container{
        background: linear-gradient(45deg, #173865 , #263c4f);
    }
}


@media screen and (max-width: 769px){

    .navbar{
        display:none;
    }
    .header {
        margin-top: 0 !important;
        border-top: 3px solid #263c4f;
        margin-bottom: 20px;
        position: fixed;
    }
    .main{
        margin-top: 120px !important;
    }
    .post-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    .blog-title{
        margin-right: -20%;
    }
    #header-btn{
        display: block;
    }
    .header-inner{
        padding: 0;
    }
    #header-btn{
        width: 40px;
        height: 40px;
        margin-left: -25%;
    }
    .header-btn-inner{
        width: 70%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.15em;
        margin-top: 25%;
        padding: 4px 1px 1px 0;
        color: #81d7ea;
        border: 1px solid #81d7ea;
    }
    #sidemenu:checked ~ #container{
        padding-left: 220px;
    }
    #sidemenu:checked ~ #container .main .posts{
        margin-left: 12%;
    }
    #sidemenu:checked ~ #container .header .header-inner{
        margin-left: 14%;
    }
    #sidemenu:checked ~ #container .header .header-inner .blog-title{
        margin-right:-25%;
    }
    #sidemenu:checked ~ #container #footer .footer-inner .copyright{
        padding-left: 12%;
    }
    /*左侧栏内容*/
    #left-bar{
        color: #81d7ea;
    }
    .left-bar-inner{
        width: 80%;
        height: 96%;
        padding: 16% 0 10% 10%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items:baseline;
    }
    .left-bar-top{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .left-bar-menu{
        flex: 1;
        width: 110%;
        padding: 10% 0;
    }
    .left-top-l{
        display: flex;
        justify-content: space-around;
    }
    #daily-notice{
        font-size: .6em;
    }
    .left-bar-author{
        display: flex;
        justify-content: space-between;
        margin-top: 10%;
        margin-bottom: 5%;
    }
    .author-img{
        width: 25%;
    }
    .author-img img{
        border-radius: 50%;
        border: 2px solid #a1d1d1;
    }
    .author-datail{
        font-size: .6em;
    }
    .author-name{
        font-size: 1.5em;
        margin-bottom: 2px;
    }
    .author-char{
        font-size: .86666em;
    }
    .bar-menu-item{
        line-height: 200%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .left-bar-social{
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 5%;

    }
    .social-item{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .social-item i{
        font-size: 1.2em;
        margin-bottom: 1px;
    }
    .social-item span{
        font-size: .8em;
    }
}

@media screen and (max-width: 414px){
    .blog-title .logo{
        font-size: 1em;
    }
    .header-inner,.footer-inner{
        box-shadow: 0 0 5px rgb(119, 134, 217);
    }

    .main{
        width: 100%;
    }
    .carousel-out{
        display: none;
    }
    .posts{
        width: 350px;

    }
    .post{
        height: 85px;
        box-shadow: 0 0 5px rgb(119, 134, 217);
        border-radius: 4px;
    }
    .post-title {
        font-size: 1em;
    }
    .post-title-img-o{
        width: 125px;
    }
    .post-count-outer{
        display: none;
        
    }
    .post-content{
        display: none;
    }
    .post-inner{
        height: 85px;
        justify-content: space-between;
    }
    .carousel-mobile-out{
        display: block;
    }
    #carousel-mobile{
        border-radius: 4px;
    }
    #page-items{
        box-shadow: 0 1px 10px rgb(134, 126, 188);
    }
    .page-col-l,.page-col-r{
        box-shadow: 0 0 8px rgb(148, 110, 216);
    }
    #header-btn{
        margin-left:-15%;
    }
    .blog-title{
        margin-right: -12%;
    }
    #footer{
        font-size: .8em;
    }
    #sidemenu:checked ~ #container .main .posts{
       margin-left: 85%;
    }
    #sidemenu:checked ~ #container .header .header-inner{
        margin-left: 28%;
    }
    #sidemenu:checked ~ #container .header .header-inner .blog-title{
        margin-right:-45%;
    }
    #sidemenu:checked ~ #container #footer .footer-inner .copyright{
        padding-left: 85%;
    }
}

@media screen and (max-width: 375px){
    #sidemenu:checked ~ #container .main .posts{
        margin-left: 125%;
     }
     #sidemenu:checked ~ #container .header .header-inner{
        margin-left: 27%;
    }
     #sidemenu:checked ~ #container #footer .footer-inner .copyright{
        padding-left: 125%;
    }
}